load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go-metrics",
    srcs = [
        "counter.go",
        "debug.go",
        "ewma.go",
        "gauge.go",
        "gauge_float64.go",
        "graphite.go",
        "healthcheck.go",
        "histogram.go",
        "json.go",
        "log.go",
        "meter.go",
        "metrics.go",
        "opentsdb.go",
        "registry.go",
        "runtime.go",
        "runtime_cgo.go",
        "runtime_gccpufraction.go",
        "runtime_no_cgo.go",
        "runtime_no_gccpufraction.go",
        "sample.go",
        "syslog.go",
        "timer.go",
        "writer.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/rcrowley/go-metrics",
    importpath = "github.com/rcrowley/go-metrics",
    visibility = ["//visibility:public"],
)
